/**
* ...
* @author Default
* @version 0.1
*/

package com.crlclr.events {
	import com.crlclr.Page;
	import com.crlclr.data.qzone.AlbumVO;
	
	import flash.events.Event;

	public class BookEvent extends Event {
		public static const COMPLETE:String = "complete";
		public static const PAGECHANGE:String = "pageChange";
		public static const THUMBCHANGET:String = "thumbChange";
		public static const BOOKSELECT:String="bookSelect";
		
		public static const NEXT:String = "next";
		public static const PREV:String = "prev";
		public static const MORE:String = "more";
		public static const CLOSEBOOK:String = "closeBook";
		public static const CLOSEMORE:String = "closeMore";
		
		public var page:Page;
		public var index:int;
		public var album:AlbumVO;
		public function BookEvent(type:String,page:Page=null) {
			super(type);
			this.page = page;
		}
		public function Qclone():BookEvent {
			var bookEvent:BookEvent = new BookEvent(this.type, this.page);
			bookEvent.index = this.index;
			return bookEvent;
		}
		
	}
	
}
